package com.edu.app.model;

import com.edu.app.bean.core.SysFile;
import com.edu.app.bean.core.SysRole;
import com.edu.app.bean.core.SysTenant;
import com.edu.app.bean.core.SysUser;

import java.util.List;

public class UserModel {

    private SysUser sysUser;
    private List<SysRole> sysRoleList;
    private SysTenant sysTenant;
    private SysFile sysFile;

    public UserModel() {
    }

    public UserModel(SysUser user, List<SysRole> roleList, SysTenant tenant ) {
        this.sysUser = user;
        this.sysRoleList = roleList;
        this.sysTenant = tenant;
        this.sysFile = null;
    }

    public UserModel(SysUser user, List<SysRole> roleList, SysTenant tenant,  SysFile sysFile) {
        this.sysUser = user;
        this.sysRoleList = roleList;
        this.sysTenant = tenant;
        this.sysFile = sysFile;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public List<SysRole> getSysRoleList() {
        return sysRoleList;
    }

    public void setSysRoleList(List<SysRole> sysRoleList) {
        this.sysRoleList = sysRoleList;
    }

    public SysTenant getSysTenant() {
        return sysTenant;
    }

    public void setSysTenant(SysTenant sysTenant) {
        this.sysTenant = sysTenant;
    }

    public SysFile getSysFile() {
        return sysFile;
    }

    public void setSysFile(SysFile sysFile) {
        this.sysFile = sysFile;
    }
}
